import axios from 'axios'

export default {
  async getApplies (id) {
    let result = await axios({
      url: '/api/warehouse/apply/'+id,
      method: 'get'
    })
    return result
  },
  async passApply (data,id) {
    let result = await axios({
      url: '/api/warehouse/pass/' + id,
      method: 'post',
      data: data
    })
    return result
  }
}
